<h1>Tareas List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Clasificacion</th>
      <th>Estado</th>
      <th>Titulo</th>
      <th>Descripcion</th>
      <th>Fecha fin</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($tareas as $tarea): ?>
    <tr>
      <td><a href="<?php echo url_for('task/show?id='.$tarea->getId()) ?>"><?php echo $tarea->getId() ?></a></td>
      <td><?php echo $tarea->getClasificacionId() ?></td>
      <td><?php echo $tarea->getEstadoId() ?></td>
      <td><?php echo $tarea->getTitulo() ?></td>
      <td><?php echo $tarea->getDescripcion() ?></td>
      <td><?php echo $tarea->getFechaFin() ?></td>
      <td><?php echo $tarea->getCreatedAt() ?></td>
      <td><?php echo $tarea->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('task/new') ?>">New</a>
